# Contributor: Niko Dittmann <mail@niko-dittmann.com>
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Contributor: Dominika Liberda <ja@sdomi.pl>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=sakura
pkgver=3.8.7
pkgrel=0
pkgdesc="Sakura Terminal Emulator"
url="https://launchpad.net/sakura"
arch="all"
license="GPL-2.0-only"
makedepends="
	cmake
	gettext-dev
	glib-dev
	gtk+3.0-dev
	pango-dev
	pcre2-dev
	samurai
	vte3-dev
"
subpackages="$pkgname-doc $pkgname-lang"
source="https://launchpad.net/sakura/trunk/$pkgver/+download/sakura-$pkgver.tar.bz2"
options="!check" # no tests provided by upstream

build() {
	cmake -B build -G Ninja \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=MinSizeRel
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
ec606af0ab808e93366a08ef36199ef7e23677e7aac4765573604230c9ea498a14d6f22983ab7285030e6d10f432b7ad924f33660bce8bc05bd76a2c31c1a76b  sakura-3.8.7.tar.bz2
"
